<h2>Login</h2>
<?php $this->load->view('admin_messages'); ?>
<form action="<?php __e($frm_action);?>" method="post" name="<?php __e($frm_name);?>" id="<?php __e($frm_name);?>" onsubmit="return admin_login();">  
  <table width="60%" class="mytables loginint" id="myTable" cellpadding="2" cellspacing="3">
    <tbody>      
      <tr class="trbottomhr pane">
        <td align="left" valign="top" width="48%"><label for="txt_username">Username/Email</label></td>
        <td align="left" valign="top">
          <?php
          $properties = array(
              'name' => 'txt_username',
              'id' => 'txt_username',
              'class' => 'inputbox',
              'maxlength' => 200,
              'tabindex' => 1
          );
          __e(textbox($properties));
          ?>
        </td>
      </tr>
      <tr class="trbottomhr pane">
        <td align="left" valign="top"><label for="txt_pwd">Password</label></td>
        <td align="left" valign="top">
          <?php
          $properties = array(
              'name' => 'txt_pwd',
              'id' => 'txt_pwd',
              'class' => 'inputbox',
              'maxlength' => 200,
              'tabindex' => 2
          );
          __e(textbox($properties, TRUE));
          ?>
        </td>
      </tr>
      <tr class="btn pane">        
        <td align="left" valign="top" colspan="2">
          
          <?php /*<a href="#" class="frgtpwd">Forgot your password?</a>*/ ?>
          <a href="<?php __e(site_url('members'));?>" class="frgtpwd">Register Now</a>
          
          <?php
          $properties = array(
              'name' => 'btn_login',
              'id' => 'btn_login',
              'class' => 'btnbox',
              'maxlength' => 200,
              'tabindex' => 3,
              'value' => 'Login',
              'onsubmit' => 'return admin_login();'
          );
          __e(inputbox($properties));
          ?>       
        </td>
      </tr>
    </tbody>
    </table>
  
</form>
